/* common */

@font-face {
  font-family: "kindeditor";
  src: url("../fonts/kindeditor.eot");
  src: url("../fonts/kindeditor.eot#iefix") format("embedded-opentype"),
    url("../fonts/kindeditor.woff") format("woff"),
    url("../fonts/kindeditor.ttf") format("truetype"),
    url("../fonts/kindeditor.svg#kindeditor") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */

/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */

/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
	font-family: 'kindeditor';
	src: url('../fonts/kindeditor.svg#kindeditor') format('svg');
}
}
*/

.ke-inline-block {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.ke-clearfix {
  zoom: 1;
}

.ke-clearfix:after {
  content: ".";
  display: block;
  clear: both;
  font-size: 0;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

.ke-shadow {
  box-shadow: 1px 1px 3px #a0a0a0;
  -moz-box-shadow: 1px 1px 3px #a0a0a0;
  -webkit-box-shadow: 1px 1px 3px #a0a0a0;
  filter: progid:DXImageTransform.Microsoft.Shadow(color='#A0A0A0', Direction=135, Strength=3);
  background-color: #f0f0ee;
}

.ke-menu a,
.ke-menu a:hover,
.ke-dialog a,
.ke-dialog a:hover {
  color: #337fe5;
  text-decoration: none;
}

/* container */

.ke-container {
  display: block;
  border: 1px solid #cccccc;
  background-color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* toolbar */

.ke-toolbar {
  border-bottom: 1px solid #ccc;
  background-color: #f0f0ee;
  padding: 2px 5px;
  text-align: left;
  overflow: hidden;
  zoom: 1;
}

.ke-toolbar-icon {
  font-family: "kindeditor";
  display: block;
  color: #333;
  width: 16px;
  height: 16px;
  font-size: 18px;
  line-height: 16px;
  font-style: normal;
  font-weight: normal;
  speak: none;
  text-decoration: none;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ke-toolbar .ke-icon-fontname {
  font-size: 12px;
}

.ke-toolbar .ke-icon-unlink {
  font-size: 12px;
}

.ke-toolbar .ke-icon-wordpaste {
  font-size: 14px;
}

.ke-toolbar .ke-icon-anchor {
  font-size: 14px;
}

.ke-toolbar .ke-icon-about {
  font-size: 14px;
}

.ke-toolbar .ke-outline {
  border: 1px solid #f0f0ee;
  margin: 1px;
  padding: 5px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  cursor: pointer;
  display: block;
  float: left;
}

.ke-toolbar .ke-on {
  border: 1px solid #5690d2;
}

.ke-toolbar .ke-selected {
  border: 1px solid #5690d2;
  background-color: #e9eff6;
}

.ke-toolbar .ke-disabled {
  cursor: default;
}

.ke-toolbar .ke-separator {
  height: 16px;
  margin: 2px 3px;
  border-left: 1px solid #a0a0a0;
  border-right: 1px solid #ffffff;
  border-top: 0;
  border-bottom: 0;
  width: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  display: block;
  float: left;
}

.ke-toolbar .ke-hr {
  overflow: hidden;
  height: 1px;
  clear: both;
}

/* edit */

.ke-edit {
  padding: 0;
}

.ke-edit-iframe,
.ke-edit-textarea {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
}

.ke-edit-textarea {
  font: 12px/1.5 "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New",
    Courier, monospace;
  color: #000;
  overflow: auto;
  resize: none;
}

.ke-edit-textarea:focus {
  outline: none;
}

/* statusbar */

.ke-statusbar {
  position: relative;
  background-color: #f0f0ee;
  border-top: 1px solid #cccccc;
  font-size: 0;
  line-height: 0;
  *height: 12px;
  overflow: hidden;
  text-align: center;
  cursor: s-resize;
}

.ke-statusbar-center-icon {
  background-position: -0px -754px;
  width: 15px;
  height: 11px;
  background-image: url(default.png);
}

.ke-statusbar-right-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: se-resize;
  background-position: -5px -741px;
  width: 11px;
  height: 11px;
  background-image: url(default.png);
}

/* menu */

.ke-menu {
  border: 1px solid #a0a0a0;
  background-color: #f1f1f1;
  color: #222222;
  padding: 2px;
  font-family: "sans serif", tahoma, verdana, helvetica;
  font-size: 12px;
  text-align: left;
  overflow: hidden;
}

.ke-menu-item {
  border: 1px solid #f1f1f1;
  background-color: #f1f1f1;
  color: #222222;
  height: 24px;
  overflow: hidden;
  cursor: pointer;
}

.ke-menu-item-on {
  border: 1px solid #5690d2;
  background-color: #e9eff6;
}

.ke-menu-item-left {
  width: 27px;
  text-align: center;
  overflow: hidden;
}

.ke-menu-item-center {
  width: 0;
  height: 24px;
  border-left: 1px solid #e3e3e3;
  border-right: 1px solid #ffffff;
  border-top: 0;
  border-bottom: 0;
}

.ke-menu-item-center-on {
  border-left: 1px solid #e9eff6;
  border-right: 1px solid #e9eff6;
}

.ke-menu-item-right {
  border: 0;
  padding: 0 0 0 5px;
  line-height: 24px;
  text-align: left;
  overflow: hidden;
}

.ke-menu-separator {
  margin: 2px 0;
  height: 0;
  overflow: hidden;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #ffffff;
  border-left: 0;
  border-right: 0;
}

/* colorpicker */

.ke-colorpicker {
  border: 1px solid #a0a0a0;
  background-color: #f1f1f1;
  color: #222222;
  padding: 2px;
}

.ke-colorpicker-table {
  border: 0;
  margin: 0;
  padding: 0;
  border-collapse: separate;
}

.ke-colorpicker-cell {
  font-size: 0;
  line-height: 0;
  border: 1px solid #f0f0ee;
  cursor: pointer;
  margin: 3px;
  padding: 0;
}

.ke-colorpicker-cell-top {
  font-family: "sans serif", tahoma, verdana, helvetica;
  font-size: 12px;
  line-height: 24px;
  border: 1px solid #f0f0ee;
  cursor: pointer;
  margin: 0;
  padding: 0;
  text-align: center;
}

.ke-colorpicker-cell-on {
  border: 1px solid #5690d2;
}

.ke-colorpicker-cell-selected {
  border: 1px solid #2446ab;
}

.ke-colorpicker-cell-color {
  width: 14px;
  height: 14px;
  margin: 3px;
  padding: 0;
  border: 0;
}

/* dialog */

.ke-dialog {
  position: absolute;
  margin: 0;
  padding: 0;
}

.ke-dialog .ke-header {
  width: 100%;
  margin-bottom: 10px;
}

.ke-dialog .ke-header .ke-left {
  float: left;
}

.ke-dialog .ke-header .ke-right {
  float: right;
}

.ke-dialog .ke-header label {
  margin-right: 0;
  cursor: pointer;
  font-weight: normal;
  display: inline;
  vertical-align: top;
}

.ke-dialog-content {
  background-color: #fff;
  width: 100%;
  height: 100%;
  color: #333;
  border: 1px solid #a0a0a0;
}

.ke-dialog-shadow {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 3px 3px 7px #999;
  -moz-box-shadow: 3px 3px 7px #999;
  -webkit-box-shadow: 3px 3px 7px #999;
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3', MakeShadow='true', ShadowOpacity='0.4');
  background-color: #f0f0ee;
}

.ke-dialog-header {
  border: 0;
  margin: 0;
  padding: 0 10px;
  background: url(background.png) repeat scroll 0 0 #f0f0ee;
  border-bottom: 1px solid #cfcfcf;
  height: 24px;
  font: 12px/24px "sans serif", tahoma, verdana, helvetica;
  text-align: left;
  color: #222;
  cursor: move;
}

.ke-dialog-icon-close {
  display: block;
  background: url(default.png) no-repeat scroll 0px -688px;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 6px;
  top: 6px;
  cursor: pointer;
}

.ke-dialog-body {
  font: 12px/1.5 "sans serif", tahoma, verdana, helvetica;
  text-align: left;
  overflow: hidden;
  width: 100%;
}

.ke-dialog-body textarea {
  display: block;
  overflow: auto;
  padding: 0;
  resize: none;
}

.ke-dialog-body textarea:focus,
.ke-dialog-body input:focus,
.ke-dialog-body select:focus {
  outline: none;
}

.ke-dialog-body label {
  margin-right: 10px;
  cursor: pointer;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.ke-dialog-body img {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.ke-dialog-body select {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
  width: auto;
}

.ke-dialog-body .ke-textarea {
  display: block;
  width: 408px;
  height: 260px;
  font-family: "sans serif", tahoma, verdana, helvetica;
  font-size: 12px;
  border-color: #848484 #e0e0e0 #e0e0e0 #848484;
  border-style: solid;
  border-width: 1px;
}

.ke-dialog-body .ke-form {
  margin: 0;
  padding: 0;
}

.ke-dialog-loading {
  position: absolute;
  top: 0;
  left: 1px;
  z-index: 1;
  text-align: center;
}

.ke-dialog-loading-content {
  background: url("../common/loading.gif") no-repeat;
  color: #666;
  font-size: 14px;
  font-weight: bold;
  height: 31px;
  line-height: 31px;
  padding-left: 36px;
}

.ke-dialog-row {
  margin-bottom: 10px;
}

.ke-dialog-footer {
  font: 12px/1 "sans serif", tahoma, verdana, helvetica;
  text-align: right;
  padding: 0 0 5px 0;
  background-color: #fff;
  width: 100%;
}

.ke-dialog-preview,
.ke-dialog-yes {
  margin: 5px;
}

.ke-dialog-no {
  margin: 5px 10px 5px 5px;
}

.ke-dialog-mask {
  background-color: #fff;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.ke-button-common {
  background-color: #eee;
  height: 28px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
  line-height: 26px;
  overflow: visible;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
}

.ke-button-outer {
  background-position: 0 -25px;
  padding: 0;
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.ke-button {
  background-position: right -25px;
  padding: 0 11px;
  margin: 0;
  font-family: "sans serif", tahoma, verdana, helvetica;
  border: 0 none;
  color: #333;
  font-size: 12px;
  left: 2px;
  text-decoration: none;
}

/* inputbox */

.ke-input-text {
  background-color: #ffffff;
  font-family: "sans serif", tahoma, verdana, helvetica;
  font-size: 12px;
  line-height: 17px;
  height: 17px;
  padding: 2px 4px;
  border-color: #848484 #e0e0e0 #e0e0e0 #848484;
  border-style: solid;
  border-width: 1px;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.ke-input-number {
  width: 50px;
}

.ke-input-color {
  border: 1px solid #a0a0a0;
  background-color: #ffffff;
  font-size: 12px;
  width: 60px;
  height: 20px;
  line-height: 20px;
  padding-left: 5px;
  overflow: hidden;
  cursor: pointer;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.ke-upload-button {
  position: relative;
}

.ke-upload-area {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  *height: 25px;
}

.ke-upload-area .ke-upload-file {
  position: absolute;
  font-size: 60px;
  top: 0;
  right: 0;
  padding: 0;
  margin: 0;
  z-index: 811212;
  border: 0 none;
  opacity: 0;
  filter: alpha(opacity=0);
}

/* tabs */

.ke-tabs {
  font: 12px/1 "sans serif", tahoma, verdana, helvetica;
  border-bottom: 1px solid #a0a0a0;
  padding-left: 5px;
  margin-bottom: 20px;
}

.ke-tabs-ul {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ke-tabs-li {
  position: relative;
  border: 1px solid #a0a0a0;
  background-color: #f0f0ee;
  margin: 0 2px -1px 0;
  padding: 0 20px;
  float: left;
  line-height: 25px;
  text-align: center;
  color: #555555;
  cursor: pointer;
}

.ke-tabs-li-selected {
  background-color: #fff;
  border-bottom: 1px solid #fff;
  color: #000;
  cursor: default;
}

.ke-tabs-li-on {
  background-color: #fff;
  color: #000;
}

/* progressbar */

.ke-progressbar {
  position: relative;
  margin: 0;
  padding: 0;
}

.ke-progressbar-bar {
  border: 1px solid #6fa5db;
  width: 80px;
  height: 5px;
  margin: 10px 10px 0 10px;
  padding: 0;
}

.ke-progressbar-bar-inner {
  width: 0;
  height: 5px;
  background-color: #6fa5db;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.ke-progressbar-percent {
  position: absolute;
  top: 0;
  left: 40%;
  display: none;
}

/* swfupload */

.ke-swfupload-top {
  position: relative;
  margin-bottom: 10px;
  _width: 608px;
}

.ke-swfupload-button {
  height: 23px;
  line-height: 23px;
}

.ke-swfupload-desc {
  padding: 0 10px;
  height: 23px;
  line-height: 23px;
}

.ke-swfupload-startupload {
  position: absolute;
  top: 0;
  right: 0;
}

.ke-swfupload-body {
  overflow: scroll;
  background-color: #ffffff;
  border-color: #848484 #e0e0e0 #e0e0e0 #848484;
  border-style: solid;
  border-width: 1px;
  width: auto;
  height: 370px;
  padding: 5px;
}

.ke-swfupload-body .ke-item {
  width: 100px;
  margin: 5px;
}

.ke-swfupload-body .ke-photo {
  position: relative;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  padding: 10px;
}

.ke-swfupload-body .ke-delete {
  display: block;
  background: url(default.png) no-repeat scroll 0px -688px;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
}

.ke-swfupload-body .ke-status {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100px;
  height: 17px;
}

.ke-swfupload-body .ke-message {
  width: 100px;
  text-align: center;
  overflow: hidden;
  height: 17px;
}

.ke-swfupload-body .ke-error {
  color: red;
}

.ke-swfupload-body .ke-name {
  width: 100px;
  text-align: center;
  overflow: hidden;
  height: 16px;
}

.ke-swfupload-body .ke-on {
  border: 1px solid #5690d2;
  background-color: #e9eff6;
}

/* emoticons */

.ke-plugin-emoticons {
  position: relative;
}

.ke-plugin-emoticons .ke-preview {
  position: absolute;
  text-align: center;
  margin: 2px;
  padding: 10px;
  top: 0;
  border: 1px solid #a0a0a0;
  background-color: #ffffff;
  display: none;
}

.ke-plugin-emoticons .ke-preview-img {
  border: 0;
  margin: 0;
  padding: 0;
}

.ke-plugin-emoticons .ke-table {
  border: 0;
  margin: 0;
  padding: 0;
  border-collapse: separate;
}

.ke-plugin-emoticons .ke-cell {
  margin: 0;
  padding: 1px;
  border: 1px solid #f0f0ee;
  cursor: pointer;
}

.ke-plugin-emoticons .ke-on {
  border: 1px solid #5690d2;
  background-color: #e9eff6;
}

.ke-plugin-emoticons .ke-img {
  display: block;
  background-repeat: no-repeat;
  overflow: hidden;
  margin: 2px;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ke-plugin-emoticons .ke-page {
  text-align: right;
  margin: 5px;
  padding: 0;
  border: 0;
  font: 12px/1 "sans serif", tahoma, verdana, helvetica;
  color: #333;
  text-decoration: none;
}

.ke-plugin-plainpaste-textarea,
.ke-plugin-wordpaste-iframe {
  display: block;
  width: 408px;
  height: 260px;
  font-family: "sans serif", tahoma, verdana, helvetica;
  font-size: 12px;
  border-color: #848484 #e0e0e0 #e0e0e0 #848484;
  border-style: solid;
  border-width: 1px;
}

/* filemanager */

.ke-plugin-filemanager-header {
  width: 100%;
  margin-bottom: 10px;
}

.ke-plugin-filemanager-header .ke-left {
  float: left;
}

.ke-plugin-filemanager-header .ke-right {
  float: right;
}

.ke-plugin-filemanager-body {
  overflow: scroll;
  background-color: #ffffff;
  border-color: #848484 #e0e0e0 #e0e0e0 #848484;
  border-style: solid;
  border-width: 1px;
  width: auto;
  height: 370px;
  padding: 5px;
}

.ke-plugin-filemanager-body .ke-item {
  width: 100px;
  margin: 5px;
}

.ke-plugin-filemanager-body .ke-photo {
  border: 1px solid #dddddd;
  background-color: #ffffff;
  padding: 10px;
}

.ke-plugin-filemanager-body .ke-name {
  width: 100px;
  text-align: center;
  overflow: hidden;
  height: 16px;
}

.ke-plugin-filemanager-body .ke-on {
  border: 1px solid #5690d2;
  background-color: #e9eff6;
}

.ke-plugin-filemanager-body .ke-table {
  width: 95%;
  border: 0;
  margin: 0;
  padding: 0;
  border-collapse: separate;
}

.ke-plugin-filemanager-body .ke-table .ke-cell {
  margin: 0;
  padding: 0;
  border: 0;
}

.ke-plugin-filemanager-body .ke-table .ke-name {
  width: 55%;
  text-align: left;
}

.ke-plugin-filemanager-body .ke-table .ke-size {
  width: 15%;
  text-align: left;
}

.ke-plugin-filemanager-body .ke-table .ke-datetime {
  width: 30%;
  text-align: center;
}
